# -*- coding:utf-8 -*-
"""
this file is the implementation of fuzzy clustering lyric-based song emotion detection
1 get all the affective lexicon, but, private, tense words, modifier
2 calculate the emotion of each sentence
3 clustering the sentence using fuzzy method here
"""

from lyricemo.utils import split_by_emoword

def get_words(sen):
    # affective lexicon
    print split_by_emoword(sen)
    # but, private, tense words
    pass

def get_emotion(sen):
    w_l_list = get_words(sen)
    pass

def get_fuzzy_emo(mid):
    pass


#run batch to static the result

if __name__ == "__main__":
    sen = u"我爱北京天安门，伤心死了"
    get_words(sen)
